package com.ruoyi.tb.lmt.service;

import com.ruoyi.tb.lmt.domain.TbSpecialInspectiondetail;
import com.ruoyi.tb.lmt.domain.vo.TbSpecialInspectiondetailVo;
import com.ruoyi.tb.lmt.domain.bo.TbSpecialInspectiondetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 专检详情Service接口
 *
 * @author ruoyi
 * @date 2024-01-04
 */
public interface ITbSpecialInspectiondetailService {

    /**
     * 查询专检详情
     */
    TbSpecialInspectiondetailVo queryById(Long ID);

    /**
     * 查询专检详情列表
     */
    TableDataInfo<TbSpecialInspectiondetailVo> queryPageList(TbSpecialInspectiondetailBo bo, PageQuery pageQuery);

    /**
     * 查询专检详情列表
     */
    List<TbSpecialInspectiondetailVo> queryList(TbSpecialInspectiondetailBo bo);

    /**
     * 新增专检详情
     */
    Boolean insertByBo(TbSpecialInspectiondetailBo bo);

    /**
     * 修改专检详情
     */
    Boolean updateByBo(TbSpecialInspectiondetailBo bo);

    /**
     * 校验并批量删除专检详情信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    TableDataInfo<TbSpecialInspectiondetailVo> selectSpecial(Long mutualId, String lmtType, String lmtNumber, String status, PageQuery pageQuery);
}
